Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

example/hfp_ag_demo: add an example for custom AT command #589

Open
wants to merge 1 commit into
base: develop
Choose a base branch
from

Conversation

weigangw
Copy link
Contributor

I find almost every headphones of my own uses Apple's private AT command to report battery level and battery-charging status.

So I write a small module for adding custom AT command in hfp ag demo, and use AT+IPHONEACCEV as an example.

@mringwal
Copy link
Member

Thanks for the PR. You're totally right, that most headphones will support Apple's private but well documented AT Commands for Battery & Battery Charging. I think it would be better to just add it to the HFP AG profile and report the values via new events. I'll leave this PR open until then.

@mringwal
Copy link
Member

Sorry for the delay. We have implemented support for Apple's HFP AT Command extensions.

Could you check develop branch if that works for you?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants